Public Class frmListProperties

    Private Sub lstProperties_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles lstProperties.DoubleClick
        mainForm.Select()
        selectedControl.Select()

        SendKeys.Send("<#" & lstProperties.SelectedItem.ToString & "#>")

    End Sub

    Private Sub lstProperties_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lstProperties.SelectedIndexChanged
        'my.Application.

    End Sub
End Class